import { defineStore } from 'pinia'
import { ref, computed } from 'vue'

export const useAnalysisStore = defineStore('analysis', () => {
  const createAnalysisData = ref([])
  const createModel = ref([])

  const hasCreateAnalysisData = computed(() => createAnalysisData.value.length > 0)
  const hasCreatecreateModel = computed(() => createModel.value.length > 0)
  return {
    createAnalysisData,
    createModel,
    hasCreateAnalysisData,
    hasCreatecreateModel
  }
})
